/* 
 * File:   Submission.h
 * Author: shemmenw
 *
 * Created on August 3, 2011, 10:37 AM
 */

#ifndef SUBMISSION_H
#define	SUBMISSION_H

#include "ProjectDefs.h"

class Submission
{
public:
    Submission();
    Submission(const Submission& orig);
    virtual ~Submission();

    void loadCode();
    void compile();
    void execute();
    void grade();
private:
    StudentNameType name;
    SubmittedCode code;
    GraveValue totalGrade;
    CommentType comments;
    OutputType output;

    const GradeCriteria &gradeSpec;
};

#endif	/* SUBMISSION_H */

